<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::dm::state&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">dm</a></li><li class="navelem"><a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html">state</a></li><li class="navelem"><a class="el" href="../../da/da0/classwheels_1_1dm_1_1state_1_1colleague.html">colleague</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="../../dd/d88/classwheels_1_1dm_1_1state_1_1colleague-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::dm::state&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::dm::state&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d9c/classwheels_1_1dm_1_1state_1_1colleague__inherit__graph.png" border="0" usemap="#awheels_1_1dm_1_1state_3_01_s_t_a_t_e___t_y_p_e_00_01_c_o_n_d_i_t_i_o_n___d_a_t_a___t_y_p_e_01_4_1_1colleague_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1dm_1_1state_3_01_s_t_a_t_e___t_y_p_e_00_01_c_o_n_d_i_t_i_o_n___d_a_t_a___t_y_p_e_01_4_1_1colleague_inherit__map" id="awheels_1_1dm_1_1state_3_01_s_t_a_t_e___t_y_p_e_00_01_c_o_n_d_i_t_i_o_n___d_a_t_a___t_y_p_e_01_4_1_1colleague_inherit__map">
<area shape="rect" title=" " alt="" coords="89,1037,347,1293"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,604,314,988"/>
<area shape="poly" title=" " alt="" coords="221,1003,221,1038,215,1038,215,1003"/>
<area shape="rect" href="../../df/db8/structprivate_____1_1colleague_base.html" title=" " alt="" coords="5,21,164,91"/>
<area shape="poly" title=" " alt="" coords="85,106,84,183,87,284,95,396,113,507,140,604,135,605,107,509,90,396,81,284,79,183,80,105"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,156,314,508"/>
<area shape="poly" title=" " alt="" coords="110,103,135,155,130,157,105,105"/>
<area shape="rect" title=" " alt="" coords="339,281,524,383"/>
<area shape="poly" title=" " alt="" coords="435,398,427,487,417,535,400,581,363,647,316,705,312,702,358,644,396,579,411,533,422,486,430,397"/>
<area shape="poly" title=" " alt="" coords="221,523,221,604,215,604,215,523"/>
<area shape="rect" title=" " alt="" coords="189,5,383,107"/>
<area shape="poly" title=" " alt="" coords="273,122,264,157,259,155,268,120"/>
</map>
</div>
<div class="dynheader">
wheels::dm::state&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/dfc/classwheels_1_1dm_1_1state_1_1colleague__coll__graph.png" border="0" usemap="#awheels_1_1dm_1_1state_3_01_s_t_a_t_e___t_y_p_e_00_01_c_o_n_d_i_t_i_o_n___d_a_t_a___t_y_p_e_01_4_1_1colleague_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1dm_1_1state_3_01_s_t_a_t_e___t_y_p_e_00_01_c_o_n_d_i_t_i_o_n___d_a_t_a___t_y_p_e_01_4_1_1colleague_coll__map" id="awheels_1_1dm_1_1state_3_01_s_t_a_t_e___t_y_p_e_00_01_c_o_n_d_i_t_i_o_n___d_a_t_a___t_y_p_e_01_4_1_1colleague_coll__map">
<area shape="rect" title=" " alt="" coords="89,1037,347,1293"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,604,314,988"/>
<area shape="poly" title=" " alt="" coords="221,1003,221,1038,215,1038,215,1003"/>
<area shape="rect" href="../../df/db8/structprivate_____1_1colleague_base.html" title=" " alt="" coords="5,21,164,91"/>
<area shape="poly" title=" " alt="" coords="85,106,84,183,87,284,95,396,113,507,140,604,135,605,107,509,90,396,81,284,79,183,80,105"/>
<area shape="rect" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html" title=" " alt="" coords="122,156,314,508"/>
<area shape="poly" title=" " alt="" coords="110,103,135,155,130,157,105,105"/>
<area shape="rect" title=" " alt="" coords="339,281,524,383"/>
<area shape="poly" title=" " alt="" coords="435,398,427,487,417,535,400,581,363,647,316,705,312,702,358,644,396,579,411,533,422,486,430,397"/>
<area shape="poly" title=" " alt="" coords="221,523,221,604,215,604,215,523"/>
<area shape="rect" title=" " alt="" coords="189,5,383,107"/>
<area shape="poly" title=" " alt="" coords="273,122,264,157,259,155,268,120"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:adecab9e62f9414f7c9a510688b9ddf4c" id="r_adecab9e62f9414f7c9a510688b9ddf4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adecab9e62f9414f7c9a510688b9ddf4c">colleague</a> (std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt; m)</td></tr>
<tr class="separator:adecab9e62f9414f7c9a510688b9ddf4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2168a0119c722761ecf8a0661320f3" id="r_ade2168a0119c722761ecf8a0661320f3"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ade2168a0119c722761ecf8a0661320f3">~colleague</a> ()</td></tr>
<tr class="separator:ade2168a0119c722761ecf8a0661320f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac154064bf9093aeb267a4a82b7384a36" id="r_ac154064bf9093aeb267a4a82b7384a36"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac154064bf9093aeb267a4a82b7384a36">recv</a> (const std::tuple&lt; <a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html#a1a72269c51efa6f01abc634bc33490ab">stateData_t</a>, <a class="el" href="../../d4/da4/namespaceprivate____.html#a5a26ada0b747dbbd073197b507a605ca">private__::emEvent</a>, CONDITION_DATA_TYPE &gt; &amp;tpl) final</td></tr>
<tr class="memdesc:ac154064bf9093aeb267a4a82b7384a36"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载recv函数，并在其中针对tuple解包，调用回调函数通知状态变化  <br /></td></tr>
<tr class="separator:ac154064bf9093aeb267a4a82b7384a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_structwheels_1_1dm_1_1colleague_itfc')"><img src="../../closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html">wheels::dm::colleagueItfc&lt; mediator_t, stateData_t, private__::emEvent, CONDITION_DATA_TYPE &gt;</a></td></tr>
<tr class="memitem:a39c71c2549cd99aa79f5a92100750170 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_a39c71c2549cd99aa79f5a92100750170"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a39c71c2549cd99aa79f5a92100750170">colleagueItfc</a> (std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt; m)</td></tr>
<tr class="separator:a39c71c2549cd99aa79f5a92100750170 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b86bd2c781f536b4ad396cdf576d23 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_a16b86bd2c781f536b4ad396cdf576d23"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a16b86bd2c781f536b4ad396cdf576d23">~colleagueItfc</a> ()</td></tr>
<tr class="separator:a16b86bd2c781f536b4ad396cdf576d23 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bab3dc52985c6317f56d2d52996a18b inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_a8bab3dc52985c6317f56d2d52996a18b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8bab3dc52985c6317f56d2d52996a18b">send</a> (Params &amp;&amp;...args)</td></tr>
<tr class="separator:a8bab3dc52985c6317f56d2d52996a18b inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adee171423e59bc73237881a41cd459f4 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_adee171423e59bc73237881a41cd459f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#adee171423e59bc73237881a41cd459f4">sendTo</a> (std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac148c720bfc57e1ae7c377378584c06f">mediaItfc_t</a> &gt; to, Params &amp;&amp;...args)</td></tr>
<tr class="separator:adee171423e59bc73237881a41cd459f4 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf18ecf6101855f8931eac4aa0ca5d35 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_aaf18ecf6101855f8931eac4aa0ca5d35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#aaf18ecf6101855f8931eac4aa0ca5d35">sendToDests</a> (std::vector&lt; std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac148c720bfc57e1ae7c377378584c06f">mediaItfc_t</a> &gt; &gt; dests, Params &amp;&amp;...args)</td></tr>
<tr class="separator:aaf18ecf6101855f8931eac4aa0ca5d35 inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8139331c4d748d261ebd5ecb50c178a inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc" id="r_ac8139331c4d748d261ebd5ecb50c178a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac8139331c4d748d261ebd5ecb50c178a">recv</a> (const std::tuple&lt; PARAMS... &gt; &amp;tpl)=0</td></tr>
<tr class="separator:ac8139331c4d748d261ebd5ecb50c178a inherit pub_methods_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a9da54ee8661803125aa7ed4cbf4914ba" id="r_a9da54ee8661803125aa7ed4cbf4914ba"><td class="memItemLeft" align="right" valign="top">std::function&lt; void(<a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html#a1a72269c51efa6f01abc634bc33490ab">stateData_t</a>, <a class="el" href="../../d4/da4/namespaceprivate____.html#a5a26ada0b747dbbd073197b507a605ca">private__::emEvent</a>, CONDITION_DATA_TYPE) &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9da54ee8661803125aa7ed4cbf4914ba">m_cb__</a></td></tr>
<tr class="separator:a9da54ee8661803125aa7ed4cbf4914ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_types_structwheels_1_1dm_1_1colleague_itfc"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_types_structwheels_1_1dm_1_1colleague_itfc')"><img src="../../closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html">wheels::dm::colleagueItfc&lt; mediator_t, stateData_t, private__::emEvent, CONDITION_DATA_TYPE &gt;</a></td></tr>
<tr class="memitem:a8d96fd02ad0f7ecd434b310e344a17fb inherit pub_types_structwheels_1_1dm_1_1colleague_itfc" id="r_a8d96fd02ad0f7ecd434b310e344a17fb"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a></td></tr>
<tr class="separator:a8d96fd02ad0f7ecd434b310e344a17fb inherit pub_types_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac148c720bfc57e1ae7c377378584c06f inherit pub_types_structwheels_1_1dm_1_1colleague_itfc" id="r_ac148c720bfc57e1ae7c377378584c06f"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#ac148c720bfc57e1ae7c377378584c06f">mediaItfc_t</a></td></tr>
<tr class="separator:ac148c720bfc57e1ae7c377378584c06f inherit pub_types_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3d0ae548207e8d96ed540999a9da7 inherit pub_types_structwheels_1_1dm_1_1colleague_itfc" id="r_a00a3d0ae548207e8d96ed540999a9da7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a00a3d0ae548207e8d96ed540999a9da7">tuple_t</a></td></tr>
<tr class="separator:a00a3d0ae548207e8d96ed540999a9da7 inherit pub_types_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_structwheels_1_1dm_1_1colleague_itfc"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pro_attribs_structwheels_1_1dm_1_1colleague_itfc')"><img src="../../closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html">wheels::dm::colleagueItfc&lt; mediator_t, stateData_t, private__::emEvent, CONDITION_DATA_TYPE &gt;</a></td></tr>
<tr class="memitem:a69edda6c42eadba29bbba2a4673a9645 inherit pro_attribs_structwheels_1_1dm_1_1colleague_itfc" id="r_a69edda6c42eadba29bbba2a4673a9645"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a69edda6c42eadba29bbba2a4673a9645">pt_mediator__</a></td></tr>
<tr class="separator:a69edda6c42eadba29bbba2a4673a9645 inherit pro_attribs_structwheels_1_1dm_1_1colleague_itfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename STATE_TYPE, typename CONDITION_DATA_TYPE&gt;<br />
class wheels::dm::state&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague</div>
<p class="definition">在文件 <a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a> 第 <a class="el" href="../../da/d3b/state_8hpp_source.html#l00075">75</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="adecab9e62f9414f7c9a510688b9ddf4c" name="adecab9e62f9414f7c9a510688b9ddf4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adecab9e62f9414f7c9a510688b9ddf4c">&#9670;&#160;</a></span>colleague()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STATE_TYPE , typename CONDITION_DATA_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html">wheels::dm::state</a>&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague::colleague </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="../../da/d74/structwheels_1_1dm_1_1colleague_itfc.html#a8d96fd02ad0f7ecd434b310e344a17fb">mediator_t</a> &gt;</td>          <td class="paramname"><span class="paramname"><em>m</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a> 第 <a class="el" href="../../da/d3b/state_8hpp_source.html#l00079">79</a> 行定义.</p>

</div>
</div>
<a id="ade2168a0119c722761ecf8a0661320f3" name="ade2168a0119c722761ecf8a0661320f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade2168a0119c722761ecf8a0661320f3">&#9670;&#160;</a></span>~colleague()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STATE_TYPE , typename CONDITION_DATA_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html">wheels::dm::state</a>&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague::~colleague </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a> 第 <a class="el" href="../../da/d3b/state_8hpp_source.html#l00081">81</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac154064bf9093aeb267a4a82b7384a36" name="ac154064bf9093aeb267a4a82b7384a36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac154064bf9093aeb267a4a82b7384a36">&#9670;&#160;</a></span>recv()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STATE_TYPE , typename CONDITION_DATA_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html">wheels::dm::state</a>&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague::recv </td>
          <td>(</td>
          <td class="paramtype">const std::tuple&lt; <a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html#a1a72269c51efa6f01abc634bc33490ab">stateData_t</a>, <a class="el" href="../../d4/da4/namespaceprivate____.html#a5a26ada0b747dbbd073197b507a605ca">private__::emEvent</a>, CONDITION_DATA_TYPE &gt; &amp;</td>          <td class="paramname"><span class="paramname"><em>tpl</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>重载recv函数，并在其中针对tuple解包，调用回调函数通知状态变化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">tpl[</td><td>I ]， </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a> 第 <a class="el" href="../../da/d3b/state_8hpp_source.html#l00087">87</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a9da54ee8661803125aa7ed4cbf4914ba" name="a9da54ee8661803125aa7ed4cbf4914ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9da54ee8661803125aa7ed4cbf4914ba">&#9670;&#160;</a></span>m_cb__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STATE_TYPE , typename CONDITION_DATA_TYPE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::function&lt; void ( <a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html#a1a72269c51efa6f01abc634bc33490ab">stateData_t</a> , <a class="el" href="../../d4/da4/namespaceprivate____.html#a5a26ada0b747dbbd073197b507a605ca">private__::emEvent</a> , CONDITION_DATA_TYPE ) &gt; <a class="el" href="../../d2/d44/classwheels_1_1dm_1_1state.html">wheels::dm::state</a>&lt; STATE_TYPE, CONDITION_DATA_TYPE &gt;::colleague::m_cb__</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a> 第 <a class="el" href="../../da/d3b/state_8hpp_source.html#l00077">77</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/designM/<a class="el" href="../../da/d3b/state_8hpp_source.html">state.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
